package com.ruoyi.store.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 订单详情对象 tb_order_detail
 * 
 * @author ruoyi
 * @date 2023-05-10
 */
public class TbOrderDetail
{
    private static final long serialVersionUID = 1L;

    /** 订单详情ID */
    @Excel(name = "订单详情ID")
    private Long orderDetailId;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private Long orderId;




    /** 备注 */
    @Excel(name = "备注")
    private String remark;

    /** 小计 */
    @Excel(name = "小计")
    private BigDecimal subtotal;

    public void setOrderDetailId(Long orderDetailId) 
    {
        this.orderDetailId = orderDetailId;
    }

    public Long getOrderDetailId() 
    {
        return orderDetailId;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    public void setSubtotal(BigDecimal subtotal) 
    {
        this.subtotal = subtotal;
    }

    public BigDecimal getSubtotal() 
    {
        return subtotal;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "TbOrderDetail{" +
                "orderDetailId=" + orderDetailId +
                ", orderId=" + orderId +
                ", remark='" + remark + '\'' +
                ", subtotal=" + subtotal +
                '}';
    }
}
